package com.example.javaservice.mapper;

import org.apache.ibatis.annotations.*;

import java.util.List;
import  com.example.javaservice.pojo.Comment;
@Mapper
public interface CommentMapper {

    int insert(Comment comment);

    List<Comment> findByPostId(Integer postId);
}